<?xml version="1.0" ?>
<map height="12" tileheight="32" tileset="tiles/facilities" tilewidth="64" width="30">
<layer z="0">
<tiles>
    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    
    48 3 48 3 48 3 48 3 0 1    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 1    0 1 0 1 0 1 0 1 0 1    0 1 0 1 0 1 0 1 0 1    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    48 3 48 3 48 3 48 3 0 1    
    48 3 48 3 48 3 48 3 0 1    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    48 3 48 3 48 3 48 3 0 1    
    48 3 48 3 48 3 48 3 0 1    0 2 0 2 0 2 0 2 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 2 0 2 0 2 0 2 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 2 0 2 0 2 0 2 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 2 0 2 0 2 0 2 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 2 0 2 0 2 0 2 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    48 3 48 3 48 3 48 3 0 1    
    48 3 48 3 48 3 48 3 0 1    0 1 0 1 0 1 0 1 0 1    0 1 0 1 0 1 0 1 0 1    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    48 3 48 3 48 3 48 3 0 1    
    48 3 48 3 48 3 48 3 0 1    0 1 0 1 0 1 0 1 0 1    0 1 0 1 0 1 0 1 0 1    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 2 0 2 0 2 0 2 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    48 3 48 3 48 3 48 3 0 1    
    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    0 1 0 1 0 1 0 1 0 1    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    
    48 3 48 3 48 3 48 3 0 1    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    48 3 48 3 48 3 48 3 0 1    
    48 3 48 3 48 3 48 3 0 1    0 2 0 2 0 2 0 2 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 2 0 2 0 2 0 2 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 2 0 2 0 2 0 2 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 2 0 2 0 2 0 2 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 2 0 2 0 2 0 2 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 1    48 3 48 3 48 3 48 3 0 1    
    48 3 48 3 48 3 48 3 0 1    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    48 3 48 3 48 3 48 3 0 1    
    48 3 48 3 48 3 48 3 0 1    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    48 3 48 3 48 3 48 3 0 1    
    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    0 1 0 1 0 1 0 1 0 1    0 1 0 1 0 1 0 1 0 1    0 1 0 1 0 1 0 1 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    0 1 0 1 0 1 0 1 0 1    0 1 0 1 0 1 0 1 0 1    0 1 0 1 0 1 0 1 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    48 3 48 3 48 3 48 3 0 1    
</tiles>

<!-- Our gates. -->
<staticobject isox="93" isoy="107" mask="masks/gate.png" name="gate" sprite="sprites/gate.png" />
<staticobject isox="109" isoy="107" mask="masks/gate.png" name="gate" sprite="sprites/gate.png" />
<staticobject isox="125" isoy="107" mask="masks/gate.png" name="gate" sprite="sprites/gate.png" />
<staticobject isox="139" isoy="107" mask="masks/gate.png" name="gate" sprite="sprites/gate.png" />

<staticobject isox="221" isoy="107" mask="masks/gate.png" name="gate" sprite="sprites/gate.png" />
<staticobject isox="237" isoy="107" mask="masks/gate.png" name="gate" sprite="sprites/gate.png" />
<staticobject isox="253" isoy="107" mask="masks/gate.png" name="gate" sprite="sprites/gate.png" />
<staticobject isox="267" isoy="107" mask="masks/gate.png" name="gate" sprite="sprites/gate.png" />

<staticobject isox="349" isoy="107" mask="masks/gate.png" name="gate" sprite="sprites/gate.png" />
<staticobject isox="365" isoy="107" mask="masks/gate.png" name="gate" sprite="sprites/gate.png" />
<staticobject isox="381" isoy="107" mask="masks/gate.png" name="gate" sprite="sprites/gate.png" />
<staticobject isox="395" isoy="107" mask="masks/gate.png" name="gate" sprite="sprites/gate.png" />:u

<!-- A lot of laustwan. -->
<person name="laustwan" config="locations/common/laustwan.xml" tilex="3" tiley="3" />
<person name="laustwan" config="locations/common/laustwan.xml" tilex="6" tiley="3" />
<person name="laustwan" config="locations/common/laustwan.xml" tilex="9" tiley="3" />
<person name="laustwan" config="locations/common/laustwan.xml" tilex="12" tiley="3" />
<person name="laustwan" config="locations/common/laustwan.xml" tilex="15" tiley="3" />
<person name="laustwan" config="locations/common/laustwan.xml" tilex="18" tiley="3" />
<person name="laustwan" config="locations/common/laustwan.xml" tilex="21" tiley="3" />
<person name="laustwan" config="locations/common/laustwan.xml" tilex="24" tiley="3" />
<person name="laustwan" config="locations/common/laustwan.xml" tilex="27" tiley="3" />
<person name="laustwan" config="locations/common/laustwan.xml" tilex="3" tiley="5" />
<person name="laustwan" config="locations/common/laustwan.xml" tilex="6" tiley="5" />
<person name="laustwan" config="locations/common/laustwan.xml" tilex="9" tiley="5" />
<person name="laustwan" config="locations/common/laustwan.xml" tilex="12" tiley="5" />
<person name="laustwan" config="locations/common/laustwan.xml" tilex="15" tiley="5" />
<person name="laustwan" config="locations/common/laustwan.xml" tilex="18" tiley="5" />
<person name="laustwan" config="locations/common/laustwan.xml" tilex="21" tiley="5" />
<person name="laustwan" config="locations/common/laustwan.xml" tilex="24" tiley="5" />
<person name="laustwan" config="locations/common/laustwan.xml" tilex="27" tiley="5" />


<!-- A control that doesn't work anyway. -->
<staticobject name="control" config="locations/facilities/restricted_control.xml" tilex="25" tiley="8" />

<!-- Scene where we see the laustwan. -->
<if code="import PartyManager;partyManager=PartyManager.getPartyManager()" cond="not partyManager.hasRecord('facilities_saw_laustwan')">
    <area script="locations/facilities/prison.py" />
</if>

<!-- Way back to entrance -->
<area tilex1="24" tilex2="27" tiley1="11" tiley2="12" visible="1" >
import annchienta, PartyManager
partyManager = PartyManager.getPartyManager()
partyManager.changeMap( &quot;locations/facilities/entrance.xml&quot;, annchienta.Point( annchienta.TilePoint, 12, 3 ) )
</area>

<!-- Way back to the stairs -->
<area tilex1="3" tilex2="6" tiley1="11" tiley2="12" visible="1" >
import annchienta, PartyManager
partyManager = PartyManager.getPartyManager()
partyManager.changeMap( &quot;locations/facilities/stairs.xml&quot;, annchienta.Point( annchienta.TilePoint, 25, 3 ) )
</area>


</layer>

<onload script="locations/facilities/onload.py" />

</map>
